package com.shenzhen.horselive.api;

import com.flqy.baselibrary.Session;


public class AppHeader {
    public static final String DEFAULT_CHANNEL_ID = "1";
    //当前接口调用者用户ID
//    private String userId;
    //APP版本
    private String appVersion;
    // 手机类型 0 iphone 1 安卓
    private String mobileType;
    // 手机唯一编号
    private String mobileCode;
    //安卓系统版本
    private String mobileSys;
    //手机型号
    private String mobileCtSys;
    //渠道
    private String channelId;
    //渠道id
    private String channelCode;
    //手机型号
    private String mobileMode;

    public AppHeader() {
        super();
        this.appVersion = String.valueOf(Session.getInstance().getVersionName());
        String deviceId = Session.getInstance().getDeviceId();
        this.mobileCode = deviceId;
        this.mobileType = String.valueOf(1);
        this.channelCode = Session.getInstance().getChannel();
        this.mobileMode = Session.getInstance().getModel();
        this.mobileSys = Session.getInstance().getOsVersion();
        //
        this.mobileCtSys = Session.getInstance().getDeviceBrand();

    }

    public String getChannelId() {
        return channelId;
    }

    public void setChannelId(String channelId) {
        this.channelId = channelId;
    }

    public String getAppVersion() {
        return appVersion;
    }

    public void setAppVersion(String version) {
        this.appVersion = version;
    }

    public String getMobileCode() {
        return mobileCode;
    }

    public void setMobileCode(String mobileCode) {
        this.mobileCode = mobileCode;
    }

    public String getMobileType() {
        return mobileType;
    }

    public void setMobileType(String mobileType) {
        this.mobileType = mobileType;
    }

    public String getMobileMode() {
        return mobileMode;
    }

    public void setMobileMode(String mobileMode) {
        this.mobileMode = mobileMode;
    }

    public String getMobileSys() {
        return mobileSys;
    }

    public void setMobileSys(String mobileSys) {
        this.mobileSys = mobileSys;
    }

    public String getMobileCtSys() {
        return mobileCtSys;
    }

    public void setMobileCtSys(String mobileCtSys) {
        this.mobileCtSys = mobileCtSys;
    }

    public String getChannelCode() {
        return channelCode;
    }

    public void setChannelCode(String channelCode) {
        this.channelCode = channelCode;
    }

}